CommonEvent 287
Name = "Vanilla's Shop: Elf Merchant"

  999([276])
  ConditionalBranch([1, 1005, 0, 19, 0])
    ConditionalBranch([12, "sw(1066) || sw(1067)"])
      ConditionalBranch([0, 2065, 0])
        ConditionalBranch([0, 2752, 1])
          ControlSwitches([2752, 2752, 0])
          ConditionalBranch([0, 1066, 0])
            ShowTextAttributes(["vgirl_fc1", 0, 0, 2])
            ShowText(["\\n<Vanilla>Pleased to meet you. I'm the merchant Vanilla.\nI'd like to sell white holy stones and black dark stones at my store..."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ConditionalBranch([0, 1067, 0])
            ShowTextAttributes(["vgirl_fc3", 0, 0, 2])
            ShowText(["\\n<Vanilla>Pleased to meet you. I'm the merchant Vanilla.\nI'd like to sell white holy stones and black dark stones at my store..."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ConditionalBranch([1, 1143, 0, 9, 2])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>The village merchants do not trade with anyone other than elves. However, I have been instructed to provide accommodations for you."])
            ShowText([""])
            ShowText([""])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>So how about this for an exchange deal?\nThere is currently a noble at the Elf Village seeking a \"Silver Dragon Statue.\""])
            ShowText([""])
            ShowText([""])
            ConditionalBranch([0, 1066, 0])
              ShowTextAttributes(["vgirl_fc1", 0, 0, 2])
              ShowText(["\\n<Vanilla>If I remember correctly about the \"Silver Dragon Statue\"... It is a work of art that Black Alice possessed."])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ConditionalBranch([0, 1067, 0])
              ShowTextAttributes(["vgirl_fc3", 0, 0, 2])
              ShowText(["\\n<Vanilla>If I remember correctly about the \"Silver Dragon Statue\"... It is a work of art that Black Alice possessed."])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>This item has been missing for five hundred years since Black Alice was slain. I would like for you to do whatever you can to search for it as you skip around the world."])
            ShowText([""])
            ShowText([""])
            ConditionalBranch([0, 4, 0])
              ShowTextAttributes(["alice_fc5", 0, 0, 2])
              ShowText(["\\n<Alice>The whereabouts of Black Alice's treasures have been unknown since her defeat. Perhaps it'll be easier to find it at a time before she was slain."])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ConditionalBranch([0, 5, 0])
              ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
              ShowText(["\\n<Ilias>The whereabouts of Black Alice's treasures have been unknown since her defeat. Perhaps it would be quicker to search for it in a time before she was slain."])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          ConditionalBranch([1, 1143, 0, 10, 1])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>Our village owes you all a debt of gratitude.\nWe'd be happy to supply you with as many as you need."])
            ShowText([""])
            ShowText([""])
            JumpToLabel(["成功"])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          Empty([])

        Else([])
          ConditionalBranch([8, 553])
            ChangeItems([553, 1, 0, 1])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>Ah, this is definitely the \"Silver Dragon Statue!\"\nOf course, I will purchase it at a reasonable price."])
            ShowText([""])
            ShowText([""])
            PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
            ChangeGold([0, 0, 45000])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["The elf merchant purchases the Silver Dragon Statue for 45,000G!"])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>Then as promised, I shall trade you holy and dark magic stones. As for the price, there shouldn't be any issues according to our proposal."])
            ShowText([""])
            ShowText([""])
            Label(["成功"])
            ConditionalBranch([0, 1066, 0])
              ShowTextAttributes(["vgirl_fc1", 0, 0, 2])
              ShowText(["\\n<Vanilla>Thank you!\nI'll be looking forward to it...I assure you!"])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ConditionalBranch([0, 1067, 0])
              ShowTextAttributes(["vgirl_fc3", 0, 0, 2])
              ShowText(["\\n<Vanilla>Thank you!\nI'll be looking forward to it...I assure you!"])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["Vanilla can now sell white holy stones and black dark stones at her shop!"])
            ControlVariables([1005, 1005, 0, 0, 20])
            ControlSwitches([2065, 2065, 1])
            Wait([60])
            ExitEventProcessing([])
            Empty([])

          Else([])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>How about this for an exchange deal?\nThere is currently a noble at the Elf Village seeking a \"Silver Dragon Statue.\""])
            ShowText([""])
            ShowText([""])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Elf Merchant>This item has been missing for five hundred years since Black Alice was slain. I would like for you to do whatever you can to search for it as you skip around the world."])
            ShowText([""])
            ShowText([""])
            ConditionalBranch([0, 4, 0])
              ShowTextAttributes(["alice_fc5", 0, 0, 2])
              ShowText(["\\n<Alice>The whereabouts of Black Alice's treasures have been unknown since her defeat. Perhaps it'll be easier to find it at a time before she was slain."])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ConditionalBranch([0, 5, 0])
              ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
              ShowText(["\\n<Ilias>The whereabouts of Black Alice's treasures have been unknown since her defeat. Perhaps it would be quicker to search for it in a time before she was slain."])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  Empty([])
